package com.woniuxy.commons.entity.warehouse;

import com.baomidou.mybatisplus.annotation.Version;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: admin  <br/>
 * Date: 2022/4/19:14:11  <br/>
 * Description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@EqualsAndHashCode
@ApiModel(value = "出入库单")
public class IoWarehouse implements Serializable {
    private static final long serialVersionUID = 401744082441638290L;

    @ApiModelProperty(value = "出入库单自增id")
    private Integer id;

    @ApiModelProperty(value = "出入库单号")
    private String ioOrderNo;

    @ApiModelProperty(value = "出入库单的表单类型")
    private String ioOrderType;

    @ApiModelProperty(value = "黄金的种类")
    private String category;

    @ApiModelProperty(value = "仓库（名字）")
    private String warehouse;

    @ApiModelProperty(value = "出入库里的制单人")
    private String  voucherP;

    @ApiModelProperty(value = "状态：0草稿  1 定稿")
    private Integer status;

    @ApiModelProperty(value = "成色")
    private String iocondition;

    @ApiModelProperty(value = "审核的时间")
    private Date auditDate;

    @ApiModelProperty(value = "制单的时间")
    private Date voucherDate;

    @ApiModelProperty(value = "审核人")
    private String auditor;

    @ApiModelProperty(value = "标记这个是出库还是入库")
    private Integer tag;

    @ApiModelProperty(value = "逻辑删除")
    private Integer isDeleted;

    @ApiModelProperty(value = "乐观锁")
    @Version
    private Integer  revision;

    @ApiModelProperty(value = "创建人")
    private String createdBy;

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "更新人")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
